<template>
    <div id="body">
        <!-- 头部 -->
        <Header/>
        <!-- 内容 -->
        <Boday/>
        <!--  -->
        <!-- <router-view v-slot="{Component}">
            <keep-alive>
                <component :is="Component" v-if="$route.meta.keepAlive" />
            </keep-alive>
            <component :is="Component" v-if="!$route.meta.keepAlive" />
        </router-view> -->
        <!-- <keep-alive include="Look">
            <router-view/>
        </keep-alive> -->
        <router-view/>
    </div>
</template>
<script>
import Header from '../components/Nav/Header.vue'
import Boday from '../components/Boday/Body.vue'
export default {
    components:{
        Header,
        Boday
    }
}
</script>
<style lang="less" scoped>
    #body{
        width: 100%;
        height: 100%;
        min-width: 1300px;
    }
</style>
